import { MidwayConfig } from '@midwayjs/core';

export default {
  // use for cookie sign key, should change to your own and keep security
  keys: '1648103126946_2316',
  koa: {
    port: 4599,
  },
  // staticFile: {
  //   dirs: {
  //     default: {
  //       prefix: '/',
  //       dir: './public',
  //     },
  //   }
  // },
  mongoose: {
    client: {
      uri: 'mongodb://106.12.137.158:27017/logger',
      // options: {
      //   useNewUrlParser: true,
      //   useUnifiedTopology: true,
      //   user: 'admin',
      //   pass: '123456'
      // }
    }
  },
  mongoKesContentNum: 100
} as MidwayConfig;
